package ophiux.wechat.template.client;

import ophiux.OphiuxWechatTemplateMessageException;
import ophiux.wechat.template.request.BaseTemplate;



public interface IWechatTemplateMessageParser {
	
	public String parse(BaseTemplate _request) throws OphiuxWechatTemplateMessageException;

	/**
	 * 
	 * @param appid  	 微信公众号appid
	 * @param secret	微信公众号秘钥
	 * @param json		模板消息请求json
	 * @throws OphiuxWechatTemplateMessageException
	 */
	public String send(String appid,String secret,String json) throws OphiuxWechatTemplateMessageException;
 	
	
}
